home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 4 / QRZ Ham Radio Callsign Database - Volume 4.iso / digests / tcp / 940136.txt < prev    next >
Internet Message Format  |  1994-11-13  |  12KB

  1. Date: Sat,  2 Jul 94 04:30:01 PDT
  2. From: Advanced Amateur Radio Networking Group <tcp-group@ucsd.edu>
  3. Errors-To: TCP-Group-Errors@UCSD.Edu
  4. Reply-To: TCP-Group@UCSD.Edu
  5. Precedence: Bulk
  6. Subject: TCP-Group Digest V94 #136
  7. To: tcp-group-digest
  8.  
  9.  
  10. TCP-Group Digest            Sat,  2 Jul 94       Volume 94 : Issue  136
  11.  
  12. Today's Topics:
  13.                   NetROM over Ethernet?  (Yuchhh...)
  14.                             NOS and the PC
  15.                         Stinkin PBBS (3 msgs)
  16.                     Why not a solid PBBS program?
  17.  
  18. Send Replies or notes for publication to: <TCP-Group@UCSD.Edu>.
  19. Subscription requests to <TCP-Group-REQUEST@UCSD.Edu>.
  20. Problems you can't solve otherwise to brian@ucsd.edu.
  21.  
  22. Archives of past issues of the TCP-Group Digest are available
  23. (by FTP only) from UCSD.Edu in directory "mailarchives".
  24.  
  25. We trust that readers are intelligent enough to realize that all text
  26. herein consists of personal comments and does not represent the official
  27. policies or positions of any party.  Your mileage may vary.  So there.
  28. ----------------------------------------------------------------------
  29.  
  30. Date: Fri Jul 01 11:24 EDT 1994
  31. From: "Ackermann, John" <jra@lawdept.daytonoh.NCR.COM>
  32. Subject: NetROM over Ethernet?  (Yuchhh...)
  33. To: tcp-group <tcp-group@ucsd.edu>
  34.  
  35. We're trying to figure out the most expeditious way to build a fairly large 
  36. switch (2 64kb full duplex, 2 19.2kb half duplex, 3 9600, 1 1200 ports) and 
  37. it looks like no matter what we do we'll need two boxes to support all the 
  38. I/O.
  39.  
  40. One possibility is two NOS boxes.  Using ethernet to interconnect them seems 
  41. like a reasonable thing to do.
  42.  
  43. Can we attach netrom directly to an ethernet interface, or do we need to go 
  44. through the axip stuff to do it?
  45.  
  46. Thanks...
  47.  
  48. John   AG9V
  49. jra@lawdept.daytonOH.ncr.com
  50.  
  51. ------------------------------
  52.  
  53. Date: Fri, 1 Jul 1994 18:36:33 -0700
  54. From: Phil Karn <karn@qualcomm.com>
  55. Subject: NOS and the PC
  56. To: agodwin@acorn.co.uk
  57.  
  58. I agree that DMA on the PC is an abomination that is best avoided
  59. wherever possible. Not only is that particular implementation
  60. especially bad, but much of the original economic and performance
  61. rationale for DMA has also gone away as the technology has developed.
  62. Fast CPUs, caches and cheap RAM are the most relevant developments.
  63.  
  64. Much of the original motivation for DMA was economic.  When memory was
  65. expensive, you didn't want to dedicate it to buffering a device that
  66. didn't get used all that often. You wanted to keep it general purpose.
  67. DMA is basically a main memory multiporting scheme; if you don't need
  68. a chunk of memory for a DMA buffer, you can use it to hold a program
  69. or data.
  70.  
  71. The original idea behind DMA was to avoid the interrupt load and
  72. latency that would otherwise occur with high speed I/O to and from
  73. devices with little internal buffering (remember, memory was
  74. expensive).  By transparently stealing memory cycles from the
  75. processor, I/O could occur without involving the CPU in a lot of busy
  76. waiting until the entire transfer was complete. The CPU could execute
  77. other, unrelated tasks while the transfer continued.
  78.  
  79. But now that memory is cheap, you can move the "DMA buffer" to the
  80. device itself; it's okay if it isn't used all that often. And this
  81. buffer can be accessed by the CPU at its own speed; there's no need
  82. for busy waits between transfers (ignoring wait states, etc).
  83.  
  84. There are other reasons to avoid DMA, even when it's reasonably well
  85. designed.  The performance bottleneck in almost every modern
  86. workstation and high performance (e.g., 486-class) PC is main
  87. memory. That's why 486 processors have caches - so they can run faster
  88. than main memory. But when a DMA device asynchronously accesses main
  89. memory, the cache controller has to take great pains to ensure
  90. cache/memory consistency. At a minimum, this means operating in a
  91. write-through mode, giving up any cache gains on write operations. And
  92. whenever a DMA device writes main memory, the cache controller must
  93. ensure that any stale data in the cache is invalidated. Depending on
  94. the cache design, this can significantly degrade performance.
  95.  
  96. Just to comment on one point you made:
  97.  
  98.   DMA : 
  99.   The PC's DMA controller is used to perform the transfer. The DMA controller
  100.   performs a sequence of memory writes (using internal counters), but 
  101.   simultaneously drives signals to the card which act rather like an I/O read
  102.   and provide a single byte in each operation. This halves the number of
  103.   bus cycles used for the transfer, and requires no overhead from the CPU.
  104.  
  105.  
  106. Actually, for modern CPUs I believe the number of ISA bus cycles is
  107. the same.  In the CPU-driven transfer the data flows between CPU and
  108. memory over a separate and much faster memory bus, so the ISA bus
  109. remains the bottleneck. In fact, if you look at the end result the DMA
  110. transfer often ends up consuming many more total bus cycles than the
  111. CPU-driven approach because of DMA buffer placement restrictions that
  112. often require the CPU to copy data between the DMA buffer and where it
  113. really wanted it to go in the first place.
  114.  
  115. This is a problem particularly with 486s that have more than the 16
  116. meg of memory that the ISA bus can address. If you happen to have a
  117. program buffer above the 16 meg boundary, you have to first copy it
  118. into a "bounce buffer" below 16 meg before you can DMA it (this is
  119. common practice with DMA disk controllers like the Adaptec 1542B,
  120. popular on UNIX systems).  And even when you have less than 16 meg,
  121. bounce buffers are required if your original program buffer happens to
  122. straddle a 64K physical boundary.
  123.  
  124. As for the two approaches (memory mapped and I/O mapped) used on
  125. modern PC ethernet cards, they are probably equivalent in performance
  126. because they are both limited by the ISA bus rate. However, the I/O
  127. mapped approach is highly preferable, at least in real-mode systems,
  128. because memory mapping can take up a good-sized chunk of upper address
  129. space.
  130.  
  131. Phil
  132.  
  133. ------------------------------
  134.  
  135. Date: Fri, 1 Jul 1994 08:08:35 -0500 (CDT)
  136. From: ssampson@sabea-oc.af.mil (Steve Sampson)
  137. Subject: Stinkin PBBS
  138. To: tcp-group@ucsd.edu
  139.  
  140. bbattles@arrl.org writes about what
  141. dgregor@bronze.coil.com writes:
  142.  
  143. >> I've been thinking of something like this. If everyone could get together 
  144. >> and write a good Amateur Radio PBBS program for Linux
  145.  
  146. > why isn't there a good, solid, NOS-based PBBS package available for hams who
  147. > run DOS, Windows or OS/2 machines?
  148.  
  149. Gary L. Grebus writes:
  150. > "Stamp out the PBBS in our lifetime."
  151.  
  152. Gary speaks pretty much the opinion of most people that have been around
  153. packet radio for any length of time.  If you really want to bore someone to
  154. death, have them buy a TNC and log into a PBBS for 10 days; then call the
  155. coroners office for a pickup.  It's not something that gets better with age.
  156. Just like the bulletin board in the lobby of schools and offices, nobody ever
  157. reads it, but a lot of people stick things on it.
  158.  
  159. Probably the only intelligent thing I've read on the subject of transfering
  160. information has to do with broadcast protocols.  For example, it seems criminal
  161. that a PBBS would hand deliver copies to a circle of machines on the same
  162. frequency (e.g., a satellite, or a town PBBS) when it could just broadcast the
  163. information while the others listened.  The other really interesting article is
  164. "The HUB 5/29 IP Routing Experiment" in the 12th ARRL Digital Conference.
  165. Read this, and then decide whether your still interested in a boring PBBS.
  166. Paul Overton and Ian Wade discuss a really nice routing scheme (only a mobile
  167. user would complain I suspect - but TCP/IP isn't ready for mobile/portable
  168. anyway) and then goes on to explain their modifications to NNTP that takes
  169. advantage of this.  We've seen several automated IP routing schemes proposed,
  170. but the truth is that Ham networks don't need them.  If you have more than 3
  171. entries in your routing table, you should read this article.  I'd like to read
  172. more about this system and maybe see a distribution for others to duplicate.
  173.  
  174. Basically I see no advantage of prolonging the PBBS given an operating network.
  175. The lack of a network is the reason the PBBS exists today.  I think if towns
  176. or communities developed along the lines of the HUB 5/29 article it would make
  177. for a simple (easily duplicated) network scheme that could transport more
  178. substantial mail or news articles. I know this will never happen in Oklahoma,
  179. because there is no organization, but other communities should look into
  180. this network and abandon the stupid PBBS, Rose, and Netrom.
  181.  
  182. -- 
  183. Steve
  184.  
  185. ------------------------------
  186.  
  187. Date: Fri, 01 Jul 94 15:55:24      
  188. From: kz1f@RELAY.HDN.LEGENT.COM
  189. Subject: Stinkin PBBS
  190. To: tcp-group@UCSD.EDU
  191.  
  192. > Gary speaks pretty much the opinion of most people that have been around
  193. > packet radio for any length of time.  If you really want to bore someone 
  194. > to death, have them buy a TNC and log into a PBBS for 10 days; then call 
  195. > the coroners office for a pickup.  It's not something that gets better 
  196. > with age.
  197.  
  198. I couldn't agree more. However I think the real problem is the bulk of the 
  199. PBBS users are running DOS (or maybe even Windoze) and use a terminal 
  200. emulator or (terminal.exe) to log into their favorite PBBS. The machines are
  201. probably 286's and the memory is 640k. 
  202. To answer Brian's question, the folks writting the 'really slick new" 
  203. software aren't running 286's with 640k and given its such an labor of love 
  204. to write this stuff they generally write it with the understanding that they
  205. too will use it. If I am reading the sentiment right one won't find any more
  206. DOS based xNOS's. There will be char based Lunix, or graphically based OS/2 
  207. or maybe even Windoze  based versions of tcp/ip suites that may not even 
  208. support AX.25 mailboxes nor netrom....I know mine won't.
  209. Walt
  210.  
  211. ------------------------------
  212.  
  213. Date: Fri, 01 Jul 1994 17:39:11 -0400
  214. From: "Brandon S. Allbery" <bsa@kf8nh.wariat.org>
  215. Subject: Stinkin PBBS 
  216. To: kz1f@RELAY.HDN.LEGENT.COM
  217.  
  218. In your message of Fri, 01 Jul 1994 15:55:24, you write:
  219. +---------------
  220. | too will use it. If I am reading the sentiment right one won't find any more
  221. | DOS based xNOS's. There will be char based Lunix, or graphically based OS/2 
  222. +------------->8
  223.  
  224. You won't be finding (m)any more DOS-based *servers*.  Clients can be darned 
  225. near anything; it's the SMTP/PBBS/convers/NNTP/etc. server hosts that are 
  226. crashing (sometimes literally) into the 640K limit all too regularly.
  227.  
  228. ++Brandon
  229. --
  230. Brandon S. Allbery       kf8nh@44.70.4.88           bsa@kf8nh.wariat.org
  231. Friends don't let friends load Windows NT (tnx Sun)    A Linux iBCS2 developer
  232.   The Witness (the Universe's biggest practical joker) is at it again... who
  233.   else would pit the U.S. soccer team against Brazil on the Fourth of July?!
  234.  
  235. ------------------------------
  236.  
  237. Date: Fri, 1 Jul 1994 18:56:55 -0700
  238. From: Phil Karn <karn@qualcomm.com>
  239. Subject: Why not a solid PBBS program?
  240. To: bbattles@arrl.org
  241.  
  242. >  Perhaps it would take a commercial venture to do it right. Would a PBBS 
  243. >SysOp, who's spent maybe $1000-$2000 (or more) on radios, TNCs, antennas, 
  244. >PCs, etc, also shell out maybe $50-$100 or so for GOOD software that beats 
  245. >the heck out of the standard freebie AX.25 PBBS packages or the bazillion 
  246. >semi-complete NOSs floating around?
  247.  
  248. Why do we have to have PBBSes at all, especially if we're using
  249. TCP/IP?  Why do hams have to keep reinventing the wheel, especially
  250. ones that aren't quite round? What's wrong with just using all the
  251. mail and news software that the rest of the Internet uses that seems
  252. to work fine for them? Why do hams always have to be different?
  253.  
  254. Phil
  255.  
  256. ------------------------------
  257.  
  258. End of TCP-Group Digest V94 #136
  259. ******************************
  260.